<%@page import="java.security.SecureRandom"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport"
	content="width=device-width, initial-scale=1, shrink-to-fit=no">
<base href="<%=basePath%>">
<title>Check Out</title>
<!-- script  -->
<script language="javascript" src="/huahua/resources/js/city.js"></script>
 
<link rel="icon" href="/huahua/resources/images/core-img/favicon.ico">

<!-- Core Style CSS -->
<link rel="stylesheet" href="/huahua/resources/css/core-style.css">
</head>
<body>
<!-- ##### Header Area Start ##### -->
	<header class="header_area">
		<div
			class="classy-nav-container breakpoint-off d-flex align-items-center justify-content-between">
			<!-- Classy Menu -->
			<nav class="classy-navbar" id="essenceNav">
				<!-- Logo -->
				<a class="nav-brand" href="http://localhost:8080/huahua/pages/front/index.jsp"><img
					src="/huahua/resources/images/core-img/logo.png" alt="http://localhost:8080/huahua/pages/front/index.jsp"></a>
				<!-- Navbar Toggler -->
				<div class="classy-navbar-toggler">
					<span class="navbarToggler"><span></span><span></span><span></span></span>
				</div>
				<!-- Menu -->
				<div class="classy-menu">
					<!-- close btn -->
					<div class="classycloseIcon">
						<div class="cross-wrap">
							<span class="top"></span><span class="bottom"></span>
						</div>
					</div>
				</div>
			</nav>
	

		</div>
	</header>
	<!-- ##### Header Area End ##### -->
	<!-- ##### Breadcumb Area Start ##### -->
	<div class="breadcumb_area bg-img"
		style="background-image: url(/huahua/resources/images/bg-img/breadcumb.jpg);">
		<div class="container h-100">
			<div class="row h-100 align-items-center">
				<div class="col-12">
					<div class="page-title text-center">
						<h2>确认订单</h2>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- ##### Breadcumb Area End ##### -->


	<form action="<%=basePath%>//user/afterCheck.shtml" method="post">
		<div class="row">
			<div class="col-md-6 mb-3">
				<label>地址 </label> <input type="text" class="form-control"
					name="address" value=${address} required>

			</div>
			<div class="col-md-6 mb-3">
				<label>电话</label><input type="text" class="form-control"
					name="tele" value=${tele}>

			</div>
			<div class="col-md-6 mb-3">
				<label>邮编</label> <input type="text" class="form-control"
					name="postcode" value="361000">

			</div>
			<div class="col-md-6 mb-3">
				<label>姓名</label> <input type="text" class="form-control"
					name="name" value=${name}>
			</div>


			<input type="hidden" class="form-control" name="userId" value="${userId}">
			
			<input type="hidden" class="form-control" name="sum" value="${sum}">
			<input type="hidden" class="form-control" name="depostReturn" value="${dSum}">

			<div class="col-12">

				<input class="btn essence-btn" type="submit" value="确定购买"> 
				<input class="btn essence-btn" type="reset" value="重置">



			</div>

		</div>

	</form>

</body>
</html>
